package com.kim.smartring.activity;

import com.kim.smartring.R;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class IndexActivity extends BaseActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		initView();
	}

	private void initView() {
		setContentView(R.layout.activity_index);
		new Handler().postDelayed(new Runnable() {

			@Override
			public void run() {
				jumpToMain();
			}
		}, 2000);
	}

	private void jumpToMain() {
		Intent intent = new Intent(this, MainActivity.class);
		startActivity(intent);
		finish();
	}
}
